package com.poc.springidol.performers;

import com.poc.springidol.exceptions.PerformanceException;


public class PoeticJuggler extends Juggler {

	private Poem poem;

	public PoeticJuggler(Poem poem) {
		super();
		this.poem = poem;
	}

	public PoeticJuggler (int beansBags, Poem poem) {
		super(beansBags);
		this.poem = poem;
	}

	@Override
	public void perform() throws PerformanceException {
		super.perform();
		System.out.println("While Reciting...");
		poem.recite();
	}

}
